#ifndef __QpwStaticObject__
#define __QpwStaticObject__

#include <QpwDecorationObject.h>

namespace QpwPhysics { class ObjectData; };

namespace QpwWorld {

class StaticObject : public DecorationObject {
public:
    explicit StaticObject( const QpwSubType & subType = QpwSubType(),
        const QpwStyleDatabase & styleDatabase = QpwStyleDatabase() );
    virtual ~StaticObject();

    virtual ObjectTypes baseType() const { return StaticObjectType; }
    virtual bool isValid() const;
    QpwPhysics::ObjectData * physicsData() const { return p_physicsData; }

    void setPhysicsData( QpwPhysics::ObjectData * physicsData )
        { p_physicsData = physicsData; modified(); }
    void setPos( const QPointF & pos );

private:
    QpwPhysics::ObjectData * p_physicsData;

};

};

#endif//__QpwStaticObject__
